#ifndef DIETPLAN_H
#define DIETPLAN_H

#include <QDate>
#include <QString>
#include "DietComment.h"
class DietPlan
{

        private:
                int dietId;
                int userId;
                QDate date;
                QString info;
                QSharedPointer<QVector<QSharedPointer<DietComment> > > m_comments;
        public:
                DietPlan();
             //   ~DietPlan();
                void setUserId(int userId1);
                void setInfo(QString info1);
                void setDate(QDate date1);
                void setId(int id1);

                QString getInfo();
                QDate getDate();
                void setDietComments(QSharedPointer<QVector<QSharedPointer<DietComment> > > m_comments1);
                QSharedPointer<QVector<QSharedPointer<DietComment> > > getDietComments();
                int getDietId();


};

#endif // DIETPLAN_H
